package com.tencent.wxcloudrun.response;

/**
 * ClassName: ErrorCodeMsgEnum
 * Package: com.tencent.wxcloudrun.response
 * Description:
 *
 * @Date: 2023/1/22 9:03 AM
 * @Author: wht
 */
public enum ErrorCodeMsgEnum {
    SERVICE_ERROR(500, "服务器异常"),
    LOGIN_ERROR(10101, "手机号或密码错误！"),
    TOKEN_ERROR(401, "亲！您的登录状态已过期，请重新登录！"),
    WX_COS_ERROR(10102, "文件上传错误！"),
    USER_CREDIT_NOT_ENOUTH(10002, "用户积分不足");

    private int code;
    private String msg;

    public int getCode() {
        return this.code;
    }

    public String getMsg() {
        return this.msg;
    }


    ErrorCodeMsgEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
